﻿<UserControl x:Class="Dubs_Finder.View.StatusBarUserControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:vm="clr-namespace:Dubs_Finder.ViewModel"
             mc:Ignorable="d" 
             d:DesignHeight="25" d:DesignWidth="800">
    <StatusBar HorizontalContentAlignment="Right" FlowDirection="RightToLeft">
        <StatusBar.Items>
            <StatusBarItem >
                <ProgressBar Value="{Binding ScannedFiles, Mode=OneWay}" Minimum="0" Maximum="{Binding TotalFiles, Mode=OneWay}" Height="20" Width="450" MinWidth="450" HorizontalAlignment="Left" FlowDirection="LeftToRight" />
            </StatusBarItem>

            <Separator Width="1" Background="DarkGray" />

            <StatusBarItem HorizontalAlignment="Right" >
                <TextBlock x:Name="StatusBarStatusHint" Width="auto" Foreground="DarkGray" Text="{Binding StatusBarStatusHint}" />
            </StatusBarItem>


        </StatusBar.Items>
    </StatusBar>
</UserControl>
